import './config'
import '@idmy/ui-style/src/index.less'
import './style.css'
import { createApp } from 'vue'
import DmyUi from '@idmy/ui'
import DmyUiIcon from '@idmy/ui-icon'
import { initialized } from '@idmy/core'
import App from './App.vue'
import routerFn from './router'

const app = createApp(App)
initialized(app, () => {
  app.use(DmyUi)
  app.use(DmyUiIcon)
  const router = routerFn()
  app.use(router)
  router.isReady().then(() => app.mount('#app'))
})
